home *** CD-ROM | disk | FTP | other *** search
- /*______________________________________________________________________
-
- rpp.h - Report Printing Module Interface.
-
- Copyright ⌐ 1988, 1989, 1990 Northwestern University. Permission is granted
- to use this code in your own projects, provided you give credit to both
- John Norstad and Northwestern University in your about box or document.
- _____________________________________________________________________*/
-
- #ifndef __rpp__
- #define __rpp__
-
- typedef void (*rpp_UpdateAll)(void);
-
- typedef struct rpp_PrtBlock {
- THPrint hPrint;
- short fontNum;
- short fontSize;
- short topMargin;
- short botMargin;
- short leftMargin;
- short rightMargin;
- Boolean reverseOrder;
- Boolean header;
- char *title;
- short titleSep;
- short titleFont;
- short titleStyle;
- short titleSize;
- char *titleTmpl;
- char *docName;
- short dlogID;
- short tabConID;
- short emptyPageRangeID;
- short ditlID;
- short sizeRangeID;
- short marginsTooBigID;
- short truncateRightID;
- short truncateBottomID;
- short minFontSize;
- short maxFontSize;
- Boolean menuPick;
- rpp_UpdateAll updateAll;
- } rpp_PrtBlock;
-
- extern OSErr rpp_Print (Handle repHandle, Boolean printOne, rpp_PrtBlock *p);
- extern OSErr rpp_StlDlog (rpp_PrtBlock *p, Boolean *canceled);
-
- #endif
-